export enum RequestStatusCode {
  Success = 0,
  UnknownError = 1,
  NotFound = 404,
  Unauthorized = 401,
  Forbidden = 403,
  OperateError = 406,
  BadRequest = 400,
  InternalServerError = 500,
}

export enum RequestStatusMessage {
  Success = '操作成功',
  UnknownError = '未知错误',
  NotFound = '资源不存在',
  Unauthorized = '未授权',
  Forbidden = '禁止访问',
  OperateError = '操作失败',
  BadRequest = '请求错误',
  InternalServerError = '服务器内部错误',
  GetDetailSuccess = '获取详情成功',
  GetDetailError = '获取详情失败',
  GetListSuccess = '获取列表成功',
  GetListError = '获取列表失败',
  CreateSuccess = '创建成功',
  CreateError = '创建失败',
  DeleteSuccess = '删除成功',
  DeleteError = '删除失败',
  UpdateSuccess = '更新成功',
  UpdateError = '更新失败',
}
